package com.zbkj.service.model.front.req.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel
public class UpdateUserIdentityReq {

    @ApiModelProperty(value = "用户Id", example = "99", required = true)
    @NotNull(message = "用户Id 不能为空")
    private Integer userId;

    @ApiModelProperty(value = "用户身份：MEMBER-会员、STORE_MANAGER-店长、DYNAMIC_STORE_MANAGER-动态店长", example = "MEMBER", required = true)
    @NotBlank(message = "用户身份 不能为空")
    private String identity;

}
